package com.ims.core.inconfig.domain;

import com.ims.common.annotation.Excel;
import com.ims.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 发票抬头校验对象 t_in_check_rule
 *
 * @author IMS
 * @date 2024-05-24
 */
public class TInCheckRule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 敏感词规则ID */
    @Excel(name = "敏感词规则ID")
    private String ruleId;

    /** 公司代码 */
    @Excel(name = "公司代码")
    private String custId;

    /** 公司代码 */
    @Excel(name = "公司代码")
    private String siteCode;

    /** 公司 */
    @Excel(name = "公司")
    private String siteName;

    /** 发票类型代码 */
    @Excel(name = "发票类型代码")
    private String invoiceTypes;

    /** 发票类型 */
    @Excel(name = "发票类型")
    private String invoiceTypeNames;

    /** 校验规则代码 */
    @Excel(name = "校验规则代码")
    private Long checkType;

    /** 校验规则 */
    @Excel(name = "校验规则")
    private String checkTypeName;

    /** 校验公司集合 */
    @Excel(name = "校验公司集合")
    private String siteCodes;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setRuleId(String ruleId)
    {
        this.ruleId = ruleId;
    }

    public String getRuleId()
    {
        return ruleId;
    }
    public void setCustId(String custId)
    {
        this.custId = custId;
    }

    public String getCustId()
    {
        return custId;
    }
    public void setSiteCode(String siteCode)
    {
        this.siteCode = siteCode;
    }

    public String getSiteCode()
    {
        return siteCode;
    }
    public void setSiteName(String siteName)
    {
        this.siteName = siteName;
    }

    public String getSiteName()
    {
        return siteName;
    }
    public void setInvoiceTypes(String invoiceTypes)
    {
        this.invoiceTypes = invoiceTypes;
    }

    public String getInvoiceTypes()
    {
        return invoiceTypes;
    }
    public void setInvoiceTypeNames(String invoiceTypeNames)
    {
        this.invoiceTypeNames = invoiceTypeNames;
    }

    public String getInvoiceTypeNames()
    {
        return invoiceTypeNames;
    }
    public void setCheckType(Long checkType)
    {
        this.checkType = checkType;
    }

    public Long getCheckType()
    {
        return checkType;
    }
    public void setCheckTypeName(String checkTypeName)
    {
        this.checkTypeName = checkTypeName;
    }

    public String getCheckTypeName()
    {
        return checkTypeName;
    }
    public void setSiteCodes(String siteCodes)
    {
        this.siteCodes = siteCodes;
    }

    public String getSiteCodes()
    {
        return siteCodes;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ruleId", getRuleId())
            .append("custId", getCustId())
            .append("siteCode", getSiteCode())
            .append("siteName", getSiteName())
            .append("invoiceTypes", getInvoiceTypes())
            .append("invoiceTypeNames", getInvoiceTypeNames())
            .append("checkType", getCheckType())
            .append("checkTypeName", getCheckTypeName())
            .append("siteCodes", getSiteCodes())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
